package top.hongthorn.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 舰艇
 * </p>
 *
 * @author 泓宇网络科技工作室
 * @since 2023-12-28 00:47:55
 */
@Data
@TableName("warship")
@ApiModel(value = "Warship对象", description = "舰艇")
public class Warship implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "type_id", type = IdType.AUTO)
    private Integer typeId;

    @ApiModelProperty("舰艇名称")
    @TableField("warship_name")
    private String warshipName;

    @ApiModelProperty("型号")
    @TableField("model")
    private String model;

    @ApiModelProperty("类型  1驱逐舰 2护卫舰 3补给舰 4猎潜艇")
    @TableField("type")
    private Integer type;
}
